Message Content
1
Compose Message
Enter your message content in the ‘Message Content’ field. This is the main text that will be sent to the Slack channel or user.
2
Add Variables
Use the ‘Insert Variable’ button to add dynamic content to your message. Variables will be replaced with actual values when the message is sent.
3
Add Attachments (Optional)
Click the ‘Add Attachments’ button to include files with your message. For each attachment, provide:
- File Name/Placeholder: The name of the file or a placeholder
- Type: Select the file type from the dropdown (PDF, JPEG, DOCX, or CSV)
- Content: The file content as a base64-encoded variable
The file content must be a variable containing a base64-encoded value of the file.
4
Add Buttons (Optional)
Click the ‘Add Buttons’ button to include interactive buttons in your message. For each button, configure:
- Text: The text to display on the button
- Action ID: A unique identifier for the button’s action
- Value: The value to send when the button is clicked
- Style: Choose from these button styles:
- Primary: For the primary action
- Danger: For destructive actions
- Plain: For secondary actions
Variable Format
Use the following format for variables in your message:Best Practices
- Keep messages clear and concise
- Use variables for dynamic content
- Test your template with different variable values
- Preview your message before sending